package mx.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import mx.dao.TicketTypeDao;
import mx.entity.TicketType;
import mx.service.TicketTypeService;

/**
 * 票类型service
 * 
 * @author root
 *
 */
@Service("ticketTypeService")
public class TicketTypeServiceImpi implements TicketTypeService {
	@Resource
	private TicketTypeDao ticketTypeDao;

	public TicketType findById(Integer id) {
		return ticketTypeDao.findById(id);
	}

	public List<TicketType> list() {
		return ticketTypeDao.list();
	}

}